package com.tinysand.advert.support;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 推广单元地域限制请求对象
 *
 * Created By TINY
 * Create Time 2020/2/21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdDistrictRequest {

    private List<District> districts;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class District {
        /* 推广单元id */
        private Long unitId;

        /* 省份 */
        private String province;

        /* 城市 */
        private String city;
    }
}
